Skip to main content

itemIcons

Type

property

Summary

The normal-state icons for the navigation items

Syntax

get the itemIcons of <widget>
set the itemIcons of <widget> to <icons>

Description

The names of the icons displayed by the navigation items when not highlighted.

Each icon name must be one of the graphics supplied by the "IconSVG" library. You can get a list of available predefined path names by running put iconNames() in the Message Box. See the Icon SVG Library documentation for handlers to manage user icon families.

Setting the itemIcons can add items to the navigation bar. If the new value of the itemIcons has more items than the navigation bar, as many new navigation items as necessary are created and added to the end of the navigation bar, using a default name, label and highlighted icon.

If the new value of the itemIcons has fewer items than the navigation bar, the remaining navigation items have their icons reset to the default icon.

property: hilitedItemIcons, itemLabels, itemNames

library: com.livecode.library.iconsvg